package com.tanhua.dubbo.api.impl;

import com.tanhua.domain.db.Report;
import com.tanhua.dubbo.api.ReportApi;
import com.tanhua.dubbo.mapper.ReportMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class ReportApiImpl implements ReportApi {

    @Autowired
    private ReportMapper reportMapper;

    @Override
    public Report findReport(Integer id) {

        return reportMapper.selectById(id);

    }
}
